﻿/*
 * Last review by   : Yaser
 * Last review date : JUL-31-09
 */
using System;
using System.Collections.Generic;

namespace ERP.Business.DataTypes.Employee.Information
{
    /// <summary>
    /// Employment Information
    /// </summary>
    [System.Runtime.Serialization.DataContract]
    [Serializable]
    [System.Runtime.Serialization.KnownType(typeof(EmploymentInformation))]
    public sealed class EmploymentInformation : BaseTypes.IntervalBased
    {
        #region Properties

        /// <summary>
        /// Gets or sets the employment details.
        /// </summary>
        /// <value>The employment details.</value>
        [System.Runtime.Serialization.DataMember]
        public EmploymentDetails EmploymentDetails
        {
            get;
            set;
        }

        /// <summary>
        /// Gets or sets the contracts.
        /// </summary>
        /// <value>The contracts.</value>
        [System.Runtime.Serialization.DataMember]
        public List<ContractEntry> Contracts
        {
            get;
            set;
        }

        #endregion

    }
}
